﻿<baseClass:Control xmlns:baseClass="clr-namespace:EFS.RC.Survey.Controls" x:Class="EFS.RC.Survey.Controls.Answer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	x:Name="ControlAnswer"
	xmlns:Core="clr-namespace:Microsoft.SilverlightMediaFramework.Core;assembly=Microsoft.SilverlightMediaFramework.Core" 
	xmlns:Media="clr-namespace:Microsoft.SilverlightMediaFramework.Core.Media;assembly=Microsoft.SilverlightMediaFramework.Core" Loaded="ControlAnswer_Loaded" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">

	<Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"></ColumnDefinition>
			<ColumnDefinition Width="10"></ColumnDefinition>
			<ColumnDefinition Width="*"></ColumnDefinition>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="Auto"></RowDefinition>
		</Grid.RowDefinitions>
		<RadioButton Grid.Row="0" Grid.Column="0" x:Name="radioButton" GroupName="" Padding="0" Margin="0,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" />
		<TextBlock Grid.Row="0" Grid.Column="2" Height="Auto" HorizontalAlignment="Left" Margin="0,0,0,0" Name="textBlockAnswer" Text="Answer text" VerticalAlignment="Center" TextWrapping="Wrap" />

		<!-- Validation -->
		<toolkit:DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="5" Height="Auto" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,0,0" Name="dockPanelValidation" Width="Auto">
			<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="0,0,0,0" Name="textBlockValidationError" Text="Error" VerticalAlignment="Center" Foreground="Red" />
		</toolkit:DockPanel>
	</Grid>
</baseClass:Control>